﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="NoticeListControl.ascx.cs" Inherits="WebPartControls_NoticeListControl" %>
<table cellpadding="0px" cellspacing="0px" 
    
    
    style="border-style: none; border-color: inherit; border-width: 0px; width:74%; height: 160px;">
    <tr align="left">
        <td>
            <br />
            <asp:Image runat="server" ImageUrl="~/images/重要通知.gif" ID="ImageNotice"/></td>
        <td align="right"><asp:HyperLink runat="server" ID="Notice_More" CssClass="MoreHyperLink" NavigateUrl="~/NoticeList.aspx">MORE </asp:HyperLink></td>
    </tr>
    <tr>
        <td align="left" colspan="2">
            <asp:GridView ID='NewsListGridView' runat='server' GridLines="None" HeaderStyle-Wrap=true BorderColor="White" ShowHeader="false" AutoGenerateColumns="false" OnSelectedIndexChanging="NewsListGridView_OnSelectedIndexChange">
                <Columns>
                    <asp:TemplateField>
                        <ItemTemplate>
                            <table style="width:100%; height:24px; border: 0px;" cellspacing="0px" cellpadding="0px">
                                <tr>
                                    <td style="width:20px"></td>
                                    <td align="center" style="width:30px"><asp:Image runat="server" ImageUrl="~/images/Index.jpg" /></td>
                                    <td><asp:Label ID="News_id" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"标识")%>' Visible="false"></asp:Label></td>
                                    <td align="left"><asp:LinkButton ID="News_Title" runat="server" CommandName="Select" Text='<%#DataBinder.Eval(Container.DataItem,"标题")%>' CssClass="HyperLink"></asp:LinkButton></td>
                                    <!--<td style="width:5px"></td>
                                    <td style="width:30px"><asp:Label runat="server" ID="Date" CssClass="HyperLink gray" Text='<%#DataBinder.Eval(Container.DataItem,"日期")%>'></asp:Label></td>-->
                                </tr>
                            </table>
                         </ItemTemplate>
                    </asp:TemplateField>
               </Columns>
            </asp:GridView>
            <br />
       </td>
    </tr>
    </table>